import 'package:shared_preferences/shared_preferences.dart';

class Storage { 
  static Future<void>setString(k,v) async{
     SharedPreferences sp = await SharedPreferences.getInstance();
     sp.setString(k,v);
  } 
  static Future<String> getString(k) async{
     SharedPreferences sp = await SharedPreferences.getInstance();
     return sp.getString(k);
  } 
  static Future<void> remove(k) async{
     SharedPreferences sp = await SharedPreferences.getInstance();
     return sp.remove(k);
  } 
  static Future<void> clear() async{
     SharedPreferences sp = await SharedPreferences.getInstance();
     return sp.clear();
  } 
}